package com.myBase.core.base.consts;

/**
 * 错误码
 * 
 * @author gebao
 * 
 */
public enum ErrorMsgEnum {
    SUCCESS("C00000", "操作成功"), //操作成功
    ERROR("C00001", "操作失败"), //操作失败
    ARGS_ERROR("C00002", "参数不正确"), //参数不正确
    ;

    private String code;

    private String msg;

    private ErrorMsgEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

}
